package com.heima.client.admin;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.pojos.admin.AdUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-admin")
public interface IAdminClient {
    @PostMapping("login/admin/save/aduser")
    ResponseResult saveAdUser(@RequestBody AdUser adUser);
}
